import request from '@/utils/request.js'
export const articlecheckService  = (article) =>{
    return request.put('/editor',article);
}
//文章列表查询
export const articleCheckListService = (params) => {
    return request.get('/editor',{params:params});
}

export const articleCategoryListService = () =>{
    return request.get('/editor/category');
}

export const editorAvatarUpdate = (url) =>{
    return request.patch('/editor/avatar?avataeUrl='+url);
}